package cn.jiyun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Yddgl {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String number;
    private String avatarUrl;
    private String nickname;
    private String sex;
    private String phoneNumber;
    private Integer userId;
    private String appEnd;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date accountExpiryDate;

    @TableField(exist = false)
    private String qname;

    @TableField(exist = false)
    private Integer qstatus;
}
